/*
 * Copyright 2016 lizhaotailang
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.yuerlive.paperplane.data.source;

import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Embedded;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

/**
 * Created by lizhaotailang on 2017/6/17.
 *
 * Immutable model class for douban moment news thumbs. See the json string for more details.
 * Entity class for {@link com.google.gson.Gson} and {@link android.arch.persistence.room.Room}.
 */
public class DoubanMomentNewsThumbs {

    @Embedded
    @Expose
    @SerializedName("medium")
    private DoubanMomentNewsMedium medium;

    @ColumnInfo(name = "thumb_description")
    @Expose
    @SerializedName("description")
    private String description;

    @Embedded
    @Expose
    @SerializedName("large")
    private DoubanMomentNewsLarge large;

    @Expose
    @SerializedName("tag_name")
    private String tagName;

    @Embedded
    @Expose
    @SerializedName("small")
    private DoubanMomentNewsSmall small;

    @ColumnInfo(name = "thumb_id")
    @Expose
    @SerializedName("id")
    private int id;

    public DoubanMomentNewsThumbs() {
    }

    public DoubanMomentNewsMedium getMedium() {
        return medium;
    }

    public void setMedium(DoubanMomentNewsMedium medium) {
        this.medium = medium;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public DoubanMomentNewsLarge getLarge() {
        return large;
    }

    public void setLarge(DoubanMomentNewsLarge large) {
        this.large = large;
    }

    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tag_name) {
        this.tagName = tag_name;
    }

    public DoubanMomentNewsSmall getSmall() {
        return small;
    }

    public void setSmall(DoubanMomentNewsSmall small) {
        this.small = small;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

}
